package com.xh.one2one.knowledgeSystem.service;



import com.xh.one2one.knowledgeSystem.bean.request.KnowledgeManagerRequest;
import com.xh.one2one.knowledgeSystem.model.KnowledgeManager;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;

import java.util.List;

/**
 * <p>
 * 知识元管理 服务类
 * </p>
 *
 * @author tw
 * @since 2020-12-22
 */
public interface IKnowledgeManagerService extends IBaseService<KnowledgeManager> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryKnowledgeManagerPage(XhPage page, KnowledgeManagerRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryKnowledgeManager(KnowledgeManagerRequest bean);

    void save(KnowledgeManagerRequest request);

    void refreshData();

    void deleteAllById(KnowledgeManagerRequest request);

    String queryTemplateIdById(String id);
}
